package cn.clq.ymcc.service.impl;

import cn.clq.ymcc.domain.Login;
import cn.clq.ymcc.domain.MessageEmail;
import cn.clq.ymcc.mapper.MessageEmailMapper;
import cn.clq.ymcc.service.IMessageEmailService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stone.chen
 * @since 2022-07-15
 */
@Service
public class MessageEmailServiceImpl extends ServiceImpl<MessageEmailMapper, MessageEmail> implements IMessageEmailService {

    /**
     * @description: 课程发布成功之后，给相关用户发送邮件
     * @param: logininfo
     * @return: void
     * @author clqlongbao
     * @date: 2022/7/25 23:56
     */
    @Override
    public void sendEmail(List<Login> logininfo) {
        System.out.println("邮件发送成功");
    }
}
